﻿<UserControl x:Class="Jade.Tools.SL.Controls.ImageViewer.ItemHolder"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:jadeControls="clr-namespace:Jade.Tools.SL.Controls.LoadingControl"
    Height="110" Width="110" Opacity="0.6" Margin="4">

    <Border x:Name="BorderMain" BorderThickness="1" Margin="0" 
                CornerRadius="5" Background="Black" >
        <Border.BorderBrush>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" x:Name="BorderBrushColor">
                <GradientStop Color="#FF454E67" Offset="0"/>
                <GradientStop Color="#FF63739D" Offset="1"/>
            </LinearGradientBrush>
        </Border.BorderBrush>
        <jadeControls:ImageLoader x:Name="imgSource"  Margin="4,4,4,4"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"/>
    </Border>
</UserControl>
